package com.virus.coronavirus.service;

import com.virus.coronavirus.error.SystemException;
import com.virus.coronavirus.model.Action;
import com.virus.coronavirus.model.vo.ActionVO;

import java.util.List;

/**
 * @Author: Bbeginner
 * @Date: 2022/1/18 22:09
 * @Version 1.0
 **/
public interface ActionService {

    /**
     * show all action data
     * @return
     */
    Action selectList(Long id);

    /**
     * 添加信息
     * @param
     */
    void add(ActionVO actionVO) throws SystemException;

    /**
     * 删除信息
     * @param
     */
    void deleteById(Long id) throws SystemException;

    void deleteByUserid1(Long id)throws SystemException;

    void deleteAll()throws SystemException;

    public List<Action> findByUserid1(Long id);

    public List<Action> findByUserid2(Long id);

    public List<Action> findBymeet(String meet);
}
